using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace SharpPieces.DemoApp
{
    public partial class TagCloudFunctionality : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Cici[] cicis = new Cici[] { new Cici(5, "5"), new Cici(19, "19") };
            this.TagCloud1.DataSource = cicis;
            this.TagCloud1.DataBind();
        }

        protected void TagCloud1_Click(object sender, EventArgs e)
        {

        }
    }

    public class Cici
    {
        public Cici(int id, string name)
        {
            this.Id = id;
            this.Name = name;
        }

        private int id;

        public int Id
        {
            get { return id; }
            set { id = value; }
        }
        private string name;

        public string Name
        {
            get { return name; }
            set { name = value; }
        }
    }
}
